<?php get_header(); ?>

<?php while(have_posts()) : the_post(); ?>
	<div class="post">
		<div class="post-gravatar"><?php echo get_avatar(get_the_author_email(), '50') ?></a></div>
		<div class="post-text">
			<h2 class="title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
			<?php the_content('(more..)'); ?>
			<div class="post-cat">Categories: <?php the_category(' - '); ?></div>
			<div class="post-tag"><?php the_tags('Tags: ', ' - '); ?></div>
			<div class="post-meta">
				<?php the_time('j F Y'); echo ' at '; the_time('H:i'); ?> - 
				<a href="<?php the_permalink(); ?>#respond">Comments</a>
				<?php edit_post_link('Edit', ' - ', '') ?>
			</div>
			<?php comments_template(); ?>
		</div>
	</div>
<?php endwhile; ?>
	
<?php get_footer(); ?>